﻿using System;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Star.Model.Modelbuilder
{
    public static class ClientSecretRecordModelBuilder
    {
        public static ModelBuilder SetClientSecretRecordModel(this ModelBuilder builder)
        {
            //ClientSecretRecord  模型类
            //return builder.Entity<ClientSecretRecord>(entity =>
            //{
            //    entity.SetAuditModel();
            //    entity.ToTable("client_secret_record", "sea").HasComment("客户端密钥变动记录");
            //    entity.HasKey(g => g.Id);
            //    entity.Property(e => e.AppKey).IsShortString().HasComment("应用编码");
            //    entity.Property(e => e.ClientId).IsShortString().HasComment("客户端编码");
            //    entity.Property(e => e.PlanTextSecret).IsShortString().HasComment("明文密钥");
            //});
            return new ModelBuilder();
        }
    }
}
